package com.mes.cloud.dto.extral;

import com.mes.cloud.annotation.ExcelAttribute;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Deacription :
 * @Author syn
 * @Date 2019/12/10
 **/
@ApiModel(value = "AreaExtralDTO", description = "行政区划信息")
@Data
public class AreaExtralDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ApiModelProperty(value = "ID", dataType = "Long")
    @ExcelAttribute(name = "ID", column = "A")
    private Long id;
    /**
     * 编码
     */
    @ApiModelProperty(value = "编码", dataType = "String")
    private String code;
    /**
     * 父编码
     */
    @ApiModelProperty(value = "父编码", dataType = "String")
    private String parentCode;
    /**
     * 名称
     */
    @ApiModelProperty(value = "名称", dataType = "String")
    private String name;
    /**
     * 简称
     */
    @ApiModelProperty(value = "简称", dataType = "String")
    private String shortName;
    /**
     * 经度
     */
    @ApiModelProperty(value = "经度", dataType = "Long")
    private Long lng;
    /**
     * 纬度
     */

    @ApiModelProperty(value = "纬度", dataType = "Long")
    private Long lat;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序", dataType = "Long")
    private Long sort;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述", dataType = "String")
    private String remark;
    /**
     *
     */
    @ApiModelProperty(value = "0-正常/1-删除", dataType = "Integer")
    private Integer isDelete;
    /**
     *
     */
    @ApiModelProperty(value = "0-启用/1-禁用", dataType = "Integer")
    private Integer isEnable;

    /**
     *
     */
    @ApiModelProperty(value = "创建时间", dataType = "Date")
    private Date crtdate;

    /**
     *
     */
    @ApiModelProperty(value = "修改时间", dataType = "Date")
    private Date upddate;

    @ApiModelProperty(value = "'自定义编码'", dataType = "String")
    private String customCode;

    @ApiModelProperty(value = "'区划类型'", dataType = "String")
    private String type;

    @ApiModelProperty(value = "城市分类", dataType = "String")
    private String cityType;

    @ApiModelProperty(value = "面积", dataType = "String")
    private Long areaSquare;

    @ApiModelProperty(value = "省会&副省会 0是 1否", dataType = "Integer")
    private Integer isProvince;

    @ApiModelProperty(value = "market门店数", dataType = "String")
    private Long marketStore;

    @ApiModelProperty(value = "market酒店数", dataType = "String")
    private Long marketHotel;

    @ApiModelProperty(value = "人口", dataType = "String")
    private Long population;

    @ApiModelProperty(value = "是否主城区 0是 1否", dataType = "Integer")
    private Integer isMainCity;

    @ApiModelProperty(value = "创建人ID", dataType = "Long")
    private Long crtby;

    @ApiModelProperty(value = "修改人ID", dataType = "Long")
    private Long updby;

    @ApiModelProperty(value = "创建人名称", dataType = "String")
    private String crtbyName;

    @ApiModelProperty(value = "修改人名称", dataType = "String")
    private String updbyName;

    @ApiModelProperty(value = "上级名称", dataType = "String")
    private String parentName;
}
